<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%> 
<%@ page import="java.util.*,entity.Course" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>在线选课系统</title>
  <script src="js/layui/layui.js"></script>
  <link rel="stylesheet" href="js/layui/css/layui.css">
</head>
<body>
      <div style="background-color: #E2E2E2; padding: 15px;">
        <h2 style="color: teal;" align="center">在线选课系统</h2>
        
        <form action="TeacherAddServlet">
        <table class="layui-table">
         <thead> 
          <tbody>
            <tr>
              <th>课程编号</th>
              <td><input type="text" name="id" placeholder="请输入课程编号"></td>
            </tr> 
            
             <tr>
              <th>课程名</th>
              <td><input type="text" name="course_name" placeholder="请输入课程名"></td>
            </tr>
            
             <tr>
              <th>授课老师</th>
              <td><input type="text" name="teacher" placeholder="请输入授课教师"></td>
            </tr>
            
             <tr>
              <th>学分</th>
              <td><input type="text" name="point" placeholder="请输入课程学分"></td>
            </tr>
            
             <tr>
              <th>上课时间1</th>
              <td>
             <select name="week1">
             	<option value="星期一">星期一</option>
             	<option value="星期二">星期二</option>
             	<option value="星期三">星期三</option>
             	<option value="星期四">星期四</option>
             	<option value="星期五">星期五</option>
             </select>
             
             <select name="day1">
             	<option value="8:35~10:20">8:35~10:20</option>
             	<option value="10:30~12:10">10:30~12:10</option>
             	<option value="14:40~16:20">14:40~16:20</option>
             	<option value="16:30~18:10">16:30~18:10</option>
             	<option value="19:30~21:00">19:30~21:00</option>
             </select>
              </td>
            </tr>
           
           <tr>
              <th>上课时间2</th>
              <td>
             <select name="week2">
             	<option value="星期一">星期一</option>
             	<option value="星期二">星期二</option>
             	<option value="星期三">星期三</option>
             	<option value="星期四">星期四</option>
             	<option value="星期五">星期五</option>
             </select>
             
             <select name="day2">
             	<option value="8:35~10:20">8:35~10:20</option>
             	<option value="10:30~12:10">10:30~12:10</option>
             	<option value="14:40~16:20">14:40~16:20</option>
             	<option value="16:30~18:10">16:30~18:10</option>
             	<option value="19:30~21:00">19:30~21:00</option>
             </select>
              </td>
            </tr>
             <tr>
              <th>上课地点</th>
              <td><input type="text" name="location" placeholder="请输入上课地点"></td>
            </tr>
            
             <tr>
              <th>限制人数</th>
              <td><input type="text" name="limit" placeholder="请输入课程总人数"></td>
            </tr>
            
             <tr>
                <input type="hidden" name="selected" value="0">
            </tr>

          </thead>
          </tbody>
        </table>
        
        
        <input type="submit" value="添加" class="layui-btn layui-btn-normal layui-btn-sm">
        <input type="reset" value="取消" class="layui-btn layui-btn-normal layui-btn-sm">   
        
        </form>
          
      </div>
  <script>
    //JavaScript代码区域
    layui.use('element', function() {
      var element = layui.element;
    });
  </script>
</body>

</html>